//
//  SYFenShuView.h
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/25.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, SYFenShuViewType) {
    SYFenShuViewTypePinXie,//拼写
    SYFenShuViewTypeShuLianDu, //熟练度
    SYFenShuViewTypeItem,//选择分数
    SYFenShuViewTypeCheXiao,//车削
    SYFenShuViewTypeShangyige,//上一个
    SYFenShuViewTypeXiayige, //下个
    SYFenShuViewTypeRequest //刷新表
};

@protocol SYFenShuViewDelegate <NSObject>

- (void)selectItemBtnIndex:(NSInteger)index fenshuViewType:(SYFenShuViewType)type;

@end

@interface SYFenShuView : UIView

@property (weak, nonatomic) id <SYFenShuViewDelegate>delegate;
@property (weak, nonatomic) IBOutlet SYButton *shangyigeBtn;

@property (weak, nonatomic) IBOutlet SYButton *xiayigeBtn;

@property (strong, nonatomic) SYYueJuanShiTiModel *yjstModel;//阅卷试题

@property (assign, nonatomic) NSInteger selectIndex;//选中的第几个学生

@property (assign, nonatomic) BOOL isDetials;//yes 从详情页面进来  需要调用重批
@property (copy, nonatomic) NSString *correctId;//批改id用于重新批改

@end

















